package com.lonely.order.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.lonely.common.core.domain.BaseEntity;
import com.lonely.order.enums.OrderLogEnum;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;


/**
 * @author 黄志标
 * @date 2025-06-23 11:26
 * @Description: 订单日志表
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@TableName("sys_order_log")
public class SysOrderLog extends BaseEntity implements Serializable {

    /**
     * 订单表主键id
     */
    private Long orderId;

    /**
     * 日志标题
     */
    private String logTitle;

    /**
     * 日志标题
     */
    private String logBody;

    /**
     * 状态（0：启用 1：禁用）
     */
    private Integer status;

    /**
     * 日志类型
     *
     * @see OrderLogEnum.LogTypeEnum
     */
    private Integer type;

}
